package com.optimize01.child;

import com.optimize01.father.Duck;

/**
 * 绿头鸭
 * @Author
 * @Create 2021/2/2
 */
public class MallardDuck extends Duck {
    @Override
    public void display() {
        System.out.println("我是绿色的鸭子！");
    }
}
